<extend name="Public/base" />
<block name="body">
  <div class="main-title cf">
    <h2>工作计划</h2>
  </div>
  
  <!-- 标签页导航 -->
  <div class="tab-wrap">
    <div class="tab-content"> 
      <!-- 表单 -->
      <form id="form" action="{:U('update')}" method="post" class="form-horizontal doc-modal-form">
        <!-- 基础 -->
        <div id="tab1" class="tab-pane in tab1">
          <div class="form-item cf">
            <label class="item-label">提醒时间</label>
            <div class="controls">
              <input type="text" class="text"  placeholder="点击选择提醒时间" name="reminder_time" value="<notempty name="info['reminder_time']">{$info.reminder_time|date="Y-m-d H:i",###}</notempty>" id="reminder_time">
            </div>
          </div>
          <div class="form-item cf">
            <label class="item-label">内容<span class="check-tips"></span></label>
            <div class="controls">
              <label class="textarea input-large">
                <textarea name="content" placeholder="例：明天早上要去送文件">{$info.content}</textarea>
              </label>
            </div>
          </div>
        </div>
        <!-- 按钮 -->
        <div class="form-item cf">

          <div class="controls edit_sort_btn">
          	<input type="hidden" name="id" value="{$info.id}" />
            <button class="btn submit-btn ajax-post no-refresh" type="submit" target-form="form-horizontal">添 加</button>
          </div>
        </div>
      </form>
    </div>

  </div>
  
</block>
<block name="script"> 
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
<php>if(C('COLOR_STYLE')=='blue_color') echo '<link href="__STATIC__/datetimepicker/css/datetimepicker_blue.css" rel="stylesheet" type="text/css">';</php>
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
  <script type="text/javascript" charset="utf-8">
    //导航高亮
    highlight_subnav('{:U('Task/index')}');
	    $('#reminder_time').datetimepicker({
        format: 'yyyy-mm-dd hh:ii',
        language:"zh-CN",
	    minView:1,
	    autoclose:true
    }); 
</script> 
</block>
